<p style="margin: 5px 0pt;"><%=link_to  '测试管理' , :action=>"index"%>>>
<%=link_to  '测试图片管理' , :action=>"add_image_fortest"%> >> </p><br />

    <div style="padding-top:20px;padding-left:30px; padding-right:10px; border:1px #A399C9 solid;height:100px;
background-color:#869BAF;">
   <div id="">为&nbsp;
   <font color="#6A6ACD"><%=@test.name%></font>
   &nbsp;添加图片:<br /><br/>
    </div>
     <% form_for(:image, :url => {:action=>'create_image_fortest'}, :html => { :multipart => true }) do |f| -%> 
             选择图片:<input id="image_uploaded_data" type="file" size="35" name="image[uploaded_data]"/>
               <input type ="hidden"  name ="t_id" value =<%=@test.id %>
             <%= submit_tag '添加' , :class=>"Button" %> 
     <% end -%>
 </div>
